package com.jn.rxjavademo.service;



import com.jn.rxjavademo.entity.Weather;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface WeatherService {

    @GET("weather/weather")
    Observable<Weather> getData(@Query("city_name") String city);

}
